<!--添加筛查人的选项卡-->

<script setup>
import {useRouter} from "vue-router";

const router = useRouter()
const addScreeningPerson = () => {
  router.push('/screener/add')
}
</script>

<template>
  <div>
    <div class="add-main border_" @click="addScreeningPerson">
      <div class="add-main-body">
        <van-button icon="plus" type="primary" class="add-button"/>
        <div class="add-info">
          添加筛查人<span class="add-info-warn">(各学段入学新生)</span>
        </div>
      </div>
    </div>
  </div>
</template>

<style scoped>
.border_ {
  border: 1.2px solid #d4d4d4;
  border-radius: 4px;
}

.border_:hover {
  border: 2px solid #00d1ae;
}

.add-main {
  display: flex;
  align-items: center;
  width: 84%;
  margin: 1rem auto;
  height: 4.6rem;
}

.add-main-body {
  display: flex;
  align-items: center;
  width: 85%;
  height: 3.3rem;
  margin: 0 auto;
}

.add-button {
  border-radius: 35px;
  width: 15%;
  height: 80%;
  background-image: linear-gradient(#00de91, #01ccc4);
}

.add-info {
  margin-left: 15px;
}

.add-info-warn {
  margin-left: 8px;
  font-size: 11px;
  font-weight: bolder;
  color: #39c2a8;
}

</style>